﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CrmCustomInstallActions.UI
{
    public partial class CrmSolutionInstallerWelcome : Form
    {
        public CrmSolutionInstallerWelcome()
        {
            InitializeComponent();
        }

        private void lnkContinue_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Hide();
        }

        private void chkAccept_CheckedChanged(object sender, EventArgs e)
        {
            lnkContinue.Enabled = chkAccept.Checked;
        }

        private void lnkCancel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Hide();
        }
    }
}
